package com.future.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.future.entity.Permission;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {
    /**
     * 根据用户ID查询权限列表
     */
    List<Permission> findPermissionsListBYUserId(Long userId);
}
